package com.rerun.vo.park;

import java.io.Serializable;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;

/**
 * The type City valid vo.
 */
public class CityValidVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1367782941834838302L;
	@NotBlank(message="省份Id不能为空")  
    @Pattern(regexp="^[0-9]{1,2}$",message="省份Id是整数")
	private String provinceId;

    /**
     * Gets province id.
     *
     * @return the province id
     */
    public String getProvinceId() {
		return provinceId;
	}

    /**
     * Sets province id.
     *
     * @param provinceId the province id
     */
    public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}
	
}
